package com.hongdee.crm.activity.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarivity
 * 类  型: class
 * 描  述: 活动实体
 * 路  径:com.hongdee.crm.activity.entity;
 * 作  者: 术洪超
 * 日  期:2017-02-24 14:40
 */
@Entity
@Table(name = "T_CRM_CAR_ACTIVITY")
public class TCrmCarActivity extends BaseEntity {

    /**
     * 活动发起部门
     */
    @Column(name = "start_department", length = 30, columnDefinition = "VARCHAR(30) COMMENT '活动发起部门'")
    private String startDepartment;

    @Column(name = "cou_count", length = 11, columnDefinition = "INTEGER COMMENT '活动发券数量'")
    private Integer couCount;

    //活动名称
    @Column(name = "name", length = 255, columnDefinition = "VARCHAR(255) COMMENT '活动名称'")
    private String name;

    //类型：1集团；2品牌；3地区；4单店
    @Column(name = "type", length = 16, columnDefinition = "VARCHAR(16) COMMENT '类型'")
    private String type;

    //品牌
    @Column(name = "brand", length = 32, columnDefinition = "VARCHAR(32) COMMENT '品牌'")
    private String brand;

    //部门
    @Column(name = "department", length = 32, columnDefinition = "VARCHAR(32) COMMENT '部门ID'")
    private String department;

    //地址
    @Column(name = "address", length = 32, columnDefinition = "VARCHAR(32) COMMENT '地区'")
    private String address;

    //活动开始时间
    @Column(name = "start_date", length = 22, columnDefinition = "BIGINT COMMENT '开始时间'")
    private Long startDate;

    //活动结束时间
    @Column(name = "stop_date", length = 22, columnDefinition = "BIGINT COMMENT '结束时间'")
    private Long stopDate;

    //活动创建时间
    @Column(name = "create_date", length = 22, columnDefinition = "BIGINT COMMENT '创建时间'")
    private Long createDate;

    //状态
    @Column(name = "status", length = 16, columnDefinition = "VARCHAR(16) COMMENT '状态'")
    private String status;

    //活动内容
    @Column(name = "message", length = 255, columnDefinition = "VARCHAR(255) COMMENT '规则说明'")
    private String message;

    //活动礼品
    @Column(name = "gift", length = 255, columnDefinition = "VARCHAR(255) COMMENT '活动礼品'")
    private String gift;

    //材料成本
    @Column(name = "degression", length = 32, columnDefinition = "VARCHAR(32) COMMENT '材料成本'")
    private String degression;

    //礼品价值
    @Column(name = "cost", length = 32, columnDefinition = "VARCHAR(32) COMMENT '礼品价值'")
    private String cost;

    //有效期月数
    @Column(name = "qixian", length = 32, columnDefinition = "VARCHAR(32) COMMENT '有效期月数'")
    private String qixian;

    //工时成本
    @Column(name = "gscost", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工时成本'")
    private String gscost;



    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    //优惠券类型
    @Column(name = "coupon_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券类型'")
    private String couponType;

    //优惠券余额
    @Column(name = "remainder", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券余额'")
    private String remainder;

    @Column(name = "cx_type",length = 10,columnDefinition = "VARCHAR(10) COMMENT '促销类别'")
    private String cxType;

    public String getCxType() {
        return cxType;
    }

    public void setCxType(String cxType) {
        this.cxType = cxType;
    }

    public String getRemainder() {
        return remainder;
    }

    public void setRemainder(String remainder) {
        this.remainder = remainder;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }


    public String getStartDepartment() {
        return startDepartment;
    }

    public void setStartDepartment(String startDepartment) {
        this.startDepartment = startDepartment;
    }

    public String getQixian() {
        return qixian;
    }

    public void setQixian(String qixian) {
        this.qixian = qixian;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }

    public Long getStopDate() {
        return stopDate;
    }

    public void setStopDate(Long stopDate) {
        this.stopDate = stopDate;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getGift() {
        return gift;
    }

    public void setGift(String gift) {
        this.gift = gift;
    }

    public String getDegression() {
        return degression;
    }

    public void setDegression(String degression) {
        this.degression = degression;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }


    public String getGscost() {
        return gscost;
    }

    public void setGscost(String gscost) {
        this.gscost = gscost;
    }

    public Integer getCouCount() {
        return couCount;
    }

    public void setCouCount(Integer couCount) {
        this.couCount = couCount;
    }
}
